<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/common/pages/common.jsp" %>
<%@ include file="/common/pages/taglibs.jsp" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ua edit</title>
<script type="text/javascript" src="<%=basePath%>sys/js/ua_edit.js"></script>
</head>
<body>
<div align="center" class="easyui-panel" style="padding: 2px; border: 1px solid #ddd;" title="基础信息" data-options="iconCls:'icon-bt',collapsible:true">
	<form id="ua_edit">
		<input name="uaId" id="uaId" type="hidden" value="${uaList.uaId }"></input>
		<table width="100%" cellspacing="10">
			<tr>
				<td align="right" width="2%"><font style="color:#ff0000">*</font></td>
				<td align="left" width="8%">终端类型：</td>
				<td align="left" width="90%">
					<select name="terminalType" id="terminalType">
						<option value="手机" <c:if test="${uaList.terminalType=='手机' }">selected="selected"</c:if> >手机</option>
						<option value="PAD" <c:if test="${uaList.terminalType=='PAD' }">selected="selected"</c:if>>PAD</option>
						<option value="PC" <c:if test="${uaList.terminalType=='PC' }">selected="selected"</c:if>>PC</option>
					</select>
				</td>
			</tr>
			<tr>
				<td align="right"></td>
				<td align="left">终端品牌：</td>
				<td align="left"><input maxlength="12" name="brands" id="brands" type="text" value="<c:out value="${uaList.brands }"></c:out>"/></td>
			</tr>
			<tr>
				<td align="right"></td>
				<td align="left">终端型号：</td>
				<td align="left"><input maxlength="16" name="model" id="model" type="text" value="<c:out value="${uaList.model }"></c:out>"/></td>
			</tr>
			<tr>
				<td align="right"></td>
				<td align="left">终端展示大小：</td>
				<td align="left"><input maxlength="4" name="widthDpi" id="widthDpi" class="ua-full" value="<c:out value="${uaList.widthDpi }"></c:out>"/>Ｘ<input maxlength="4" name="lengthDpi" id="lengthDpi" class="ua-full" value="<c:out value="${uaList.lengthDpi }"></c:out>"/></td>
			</tr>
			<tr>
				<td align="right"></td>
				<td align="left">操作系统：</td>
				<td align="left"><input maxlength="12" name="os" id="os" type="text" value="<c:out value="${uaList.os }"></c:out>"/></td>
			</tr>
			<tr>
				<td align="right"></td>
				<td align="left">系统版本号：</td>
				<td align="left"><input maxlength="12" name="osVersion" id="osVersion" type="text" value="<c:out value="${uaList.osVersion }"></c:out>"/></td>
			</tr>
			<tr>
				<td align="right"><font style="color:#ff0000">*</font></td>
				<td align="left">UA字符串号：</td>
				<td align="left"><input maxlength="30" class="easyui-validatebox" data-options="required:true" name="ua" id="ua" type="text" value="<c:out value="${uaList.ua }"></c:out>"/></td>
			</tr>
			<tr>
				<td align="right"></td>
				<td align="left">浏览器名称：</td>
				<td align="left"><input maxlength="8" name="browser" id="browser" type="text" value="<c:out value="${uaList.browser }"></c:out>"/></td>
			</tr>
			<tr>
				<td align="right"></td>
				<td align="left">浏览器版本号：</td>
				<td align="left"><input maxlength="12" name="browserVersion" id="browserVersion" type="text" value="<c:out value="${uaList.browserVersion }"></c:out>"/></td>
			</tr>
			<tr>
				<td colspan="3">
				<ex:permissionShow actionCode="update_ua">
					<a style="margin-left: 20%;" href="javascript:void(0);" onclick="save();" class="easyui-linkbutton">保存</a>
				</ex:permissionShow>
				<a style="margin-left: 10%;" href="javascript:cancel();" class="easyui-linkbutton">取消</a>
				</td>
			</tr>
		 </table>
	 </form>
</div>
</body>
</html>